diff options
| author | Michael Williamson <mike@zwobble.org> | 2023-12-16 14:39:10 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2023-12-16 14:39:38 +0000 |
| commit | 9bbc9fb8a4666e7c084f56916e993cb07ea4dabd (patch) | |
| tree | a9dbe1af76ab00821c6a9972effdec9492c087ba /snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineFunctionTests] | |
| parent | feeb048fe9ab2e2d9f748a6028a8ca05d8a8eacf (diff) | |
Add mark for GC objects
Diffstat (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineFunctionTests]')
6 files changed, 30 insertions, 30 deletions
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineFunctionTests]/[method:canCaptureFreeVariablesThatAreSetAfterDefinition(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineFunctionTests]/[method:canCaptureFreeVariablesThatAreSetAfterDefinition(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected index dce8b665..8b99cead 100644 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineFunctionTests]/[method:canCaptureFreeVariablesThatAreSetAfterDefinition(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineFunctionTests]/[method:canCaptureFreeVariablesThatAreSetAfterDefinition(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected @@ -11,14 +11,14 @@ Compilation unit elements: memory-load (local "local__a") pointer=(local "closurePointer__0") - layout=(struct (data-ptr (struct (function-ptr (struct ()) (struct (int int)))))) + layout=(struct ((struct (data-ptr int)) (struct (function-ptr (struct ()) (struct (int int)))))) offset=(1 2 0) ) ( memory-load (local "local__b") pointer=(local "closurePointer__0") - layout=(struct (data-ptr (struct (function-ptr (struct ()) (struct (int int)))))) + layout=(struct ((struct (data-ptr int)) (struct (function-ptr (struct ()) (struct (int int)))))) offset=(1 2 1) ) (return (local "local__a")) @@ -34,11 +34,11 @@ Locals: Instructions: ( - (alloc-heap (local "closurePointer__f__0") (struct (data-ptr (struct (function-ptr (struct ()) (struct (int int))))))) + (alloc-heap (local "closurePointer__f__0") (struct ((struct (data-ptr int)) (struct (function-ptr (struct ()) (struct (int int))))))) ( memory-store pointer=(local "closurePointer__f__0") - layout=(struct (data-ptr (struct (function-ptr (struct ()) (struct (int int)))))) + layout=(struct ((struct (data-ptr int)) (struct (function-ptr (struct ()) (struct (int int)))))) offset=(1 0) value=(function-ptr "shed__function__f__0") ) @@ -47,7 +47,7 @@ Instructions: ( memory-store pointer=(local "closurePointer__f__0") - layout=(struct (data-ptr (struct (function-ptr (struct ()) (struct (int int)))))) + layout=(struct ((struct (data-ptr int)) (struct (function-ptr (struct ()) (struct (int int)))))) offset=(1 2 0) value=(local "local__a") ) @@ -55,7 +55,7 @@ Instructions: ( memory-store pointer=(local "closurePointer__f__0") - layout=(struct (data-ptr (struct (function-ptr (struct ()) (struct (int int)))))) + layout=(struct ((struct (data-ptr int)) (struct (function-ptr (struct ()) (struct (int int)))))) offset=(1 2 1) value=(local "local__b") ) diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineFunctionTests]/[method:canDefineMinimalFunction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineFunctionTests]/[method:canDefineMinimalFunction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected index aa138600..c9f8a0a6 100644 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineFunctionTests]/[method:canDefineMinimalFunction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineFunctionTests]/[method:canDefineMinimalFunction(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected @@ -19,11 +19,11 @@ Locals: Instructions: ( - (alloc-heap (local "closurePointer__f__0") (struct (data-ptr (struct (function-ptr (struct ()) (struct ())))))) + (alloc-heap (local "closurePointer__f__0") (struct ((struct (data-ptr int)) (struct (function-ptr (struct ()) (struct ())))))) ( memory-store pointer=(local "closurePointer__f__0") - layout=(struct (data-ptr (struct (function-ptr (struct ()) (struct ()))))) + layout=(struct ((struct (data-ptr int)) (struct (function-ptr (struct ()) (struct ()))))) offset=(1 0) value=(function-ptr "shed__function__f__0") ) diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineFunctionTests]/[method:effectHandlerMethodSwapsEffectHandlerInBody(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineFunctionTests]/[method:effectHandlerMethodSwapsEffectHandlerInBody(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected index 57e4ffa0..a59e32bd 100644 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineFunctionTests]/[method:effectHandlerMethodSwapsEffectHandlerInBody(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineFunctionTests]/[method:effectHandlerMethodSwapsEffectHandlerInBody(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected @@ -24,7 +24,7 @@ Compilation unit elements: memory-load (local "effectHandler__1") pointer=(local "closurePointer__0") - layout=(struct (data-ptr (struct (function-ptr (struct (data-ptr)) (struct ()))))) + layout=(struct ((struct (data-ptr int)) (struct (function-ptr (struct (data-ptr)) (struct ()))))) offset=(1 1 0) ) (call _ "shed__runtime__effects_set_handler" ((local "effectHandler__1"))) @@ -42,11 +42,11 @@ Locals: Instructions: ( - (alloc-heap (local "closurePointer__f__0") (struct (data-ptr (struct (function-ptr (struct (data-ptr)) (struct ())))))) + (alloc-heap (local "closurePointer__f__0") (struct ((struct (data-ptr int)) (struct (function-ptr (struct (data-ptr)) (struct ())))))) ( memory-store pointer=(local "closurePointer__f__0") - layout=(struct (data-ptr (struct (function-ptr (struct (data-ptr)) (struct ()))))) + layout=(struct ((struct (data-ptr int)) (struct (function-ptr (struct (data-ptr)) (struct ()))))) offset=(1 0) value=(function-ptr "shed__effectHandlerMethod__f__0") ) @@ -54,7 +54,7 @@ Instructions: ( memory-store pointer=(local "closurePointer__f__0") - layout=(struct (data-ptr (struct (function-ptr (struct (data-ptr)) (struct ()))))) + layout=(struct ((struct (data-ptr int)) (struct (function-ptr (struct (data-ptr)) (struct ()))))) offset=(1 1 0) value=(local "effectHandlerCurrent__0") ) diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineFunctionTests]/[method:immutableFreeVariablesAreStoredInAndLoadedFromEnvironment(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineFunctionTests]/[method:immutableFreeVariablesAreStoredInAndLoadedFromEnvironment(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected index fab935e5..9a4d1e60 100644 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineFunctionTests]/[method:immutableFreeVariablesAreStoredInAndLoadedFromEnvironment(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineFunctionTests]/[method:immutableFreeVariablesAreStoredInAndLoadedFromEnvironment(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected @@ -11,14 +11,14 @@ Compilation unit elements: memory-load (local "local__a") pointer=(local "closurePointer__0") - layout=(struct (data-ptr (struct (function-ptr (struct ()) (struct (int int)))))) + layout=(struct ((struct (data-ptr int)) (struct (function-ptr (struct ()) (struct (int int)))))) offset=(1 2 0) ) ( memory-load (local "local__b") pointer=(local "closurePointer__0") - layout=(struct (data-ptr (struct (function-ptr (struct ()) (struct (int int)))))) + layout=(struct ((struct (data-ptr int)) (struct (function-ptr (struct ()) (struct (int int)))))) offset=(1 2 1) ) (return (local "local__a")) @@ -34,25 +34,25 @@ Locals: Instructions: ( - (alloc-heap (local "closurePointer__f__0") (struct (data-ptr (struct (function-ptr (struct ()) (struct (int int))))))) + (alloc-heap (local "closurePointer__f__0") (struct ((struct (data-ptr int)) (struct (function-ptr (struct ()) (struct (int int))))))) ( memory-store pointer=(local "closurePointer__f__0") - layout=(struct (data-ptr (struct (function-ptr (struct ()) (struct (int int)))))) + layout=(struct ((struct (data-ptr int)) (struct (function-ptr (struct ()) (struct (int int)))))) offset=(1 0) value=(function-ptr "shed__function__f__0") ) ( memory-store pointer=(local "closurePointer__f__0") - layout=(struct (data-ptr (struct (function-ptr (struct ()) (struct (int int)))))) + layout=(struct ((struct (data-ptr int)) (struct (function-ptr (struct ()) (struct (int int)))))) offset=(1 2 0) value=(local "local__a") ) ( memory-store pointer=(local "closurePointer__f__0") - layout=(struct (data-ptr (struct (function-ptr (struct ()) (struct (int int)))))) + layout=(struct ((struct (data-ptr int)) (struct (function-ptr (struct ()) (struct (int int)))))) offset=(1 2 1) value=(local "local__b") ) diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineFunctionTests]/[method:pointersToFreeMutableVariablesAreStoredInAndLoadedFromEnvironment(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineFunctionTests]/[method:pointersToFreeMutableVariablesAreStoredInAndLoadedFromEnvironment(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected index c9c6eaa9..29af5f7c 100644 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineFunctionTests]/[method:pointersToFreeMutableVariablesAreStoredInAndLoadedFromEnvironment(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineFunctionTests]/[method:pointersToFreeMutableVariablesAreStoredInAndLoadedFromEnvironment(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected @@ -11,14 +11,14 @@ Compilation unit elements: memory-load (local "local__a") pointer=(local "closurePointer__0") - layout=(struct (data-ptr (struct (function-ptr (struct ()) (struct (data-ptr data-ptr)))))) + layout=(struct ((struct (data-ptr int)) (struct (function-ptr (struct ()) (struct (data-ptr data-ptr)))))) offset=(1 2 0) ) ( memory-load (local "local__b") pointer=(local "closurePointer__0") - layout=(struct (data-ptr (struct (function-ptr (struct ()) (struct (data-ptr data-ptr)))))) + layout=(struct ((struct (data-ptr int)) (struct (function-ptr (struct ()) (struct (data-ptr data-ptr)))))) offset=(1 2 1) ) (return (local "local__a")) @@ -34,25 +34,25 @@ Locals: Instructions: ( - (alloc-heap (local "closurePointer__f__0") (struct (data-ptr (struct (function-ptr (struct ()) (struct (data-ptr data-ptr))))))) + (alloc-heap (local "closurePointer__f__0") (struct ((struct (data-ptr int)) (struct (function-ptr (struct ()) (struct (data-ptr data-ptr))))))) ( memory-store pointer=(local "closurePointer__f__0") - layout=(struct (data-ptr (struct (function-ptr (struct ()) (struct (data-ptr data-ptr)))))) + layout=(struct ((struct (data-ptr int)) (struct (function-ptr (struct ()) (struct (data-ptr data-ptr)))))) offset=(1 0) value=(function-ptr "shed__function__f__0") ) ( memory-store pointer=(local "closurePointer__f__0") - layout=(struct (data-ptr (struct (function-ptr (struct ()) (struct (data-ptr data-ptr)))))) + layout=(struct ((struct (data-ptr int)) (struct (function-ptr (struct ()) (struct (data-ptr data-ptr)))))) offset=(1 2 0) value=(local "local__a") ) ( memory-store pointer=(local "closurePointer__f__0") - layout=(struct (data-ptr (struct (function-ptr (struct ()) (struct (data-ptr data-ptr)))))) + layout=(struct ((struct (data-ptr int)) (struct (function-ptr (struct ()) (struct (data-ptr data-ptr)))))) offset=(1 2 1) value=(local "local__b") ) diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineFunctionTests]/[method:positionalAndNamedParamsAreDefined(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineFunctionTests]/[method:positionalAndNamedParamsAreDefined(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected index c702a0d1..ad7919da 100644 --- a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineFunctionTests]/[method:positionalAndNamedParamsAreDefined(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected +++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenDefineFunctionTests]/[method:positionalAndNamedParamsAreDefined(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected @@ -17,14 +17,14 @@ Compilation unit elements: memory-load (local "local__a") pointer=(local "closurePointer__0") - layout=(struct (data-ptr (struct (function-ptr (struct ()) (struct (int int)))))) + layout=(struct ((struct (data-ptr int)) (struct (function-ptr (struct ()) (struct (int int)))))) offset=(1 2 0) ) ( memory-load (local "local__b") pointer=(local "closurePointer__0") - layout=(struct (data-ptr (struct (function-ptr (struct ()) (struct (int int)))))) + layout=(struct ((struct (data-ptr int)) (struct (function-ptr (struct ()) (struct (int int)))))) offset=(1 2 1) ) (call (local "binaryOpResult__0") "shed__runtime__int_add" ((local "local__a") (local "local__param1"))) @@ -42,25 +42,25 @@ Locals: Instructions: ( - (alloc-heap (local "closurePointer__f__0") (struct (data-ptr (struct (function-ptr (struct ()) (struct (int int))))))) + (alloc-heap (local "closurePointer__f__0") (struct ((struct (data-ptr int)) (struct (function-ptr (struct ()) (struct (int int))))))) ( memory-store pointer=(local "closurePointer__f__0") - layout=(struct (data-ptr (struct (function-ptr (struct ()) (struct (int int)))))) + layout=(struct ((struct (data-ptr int)) (struct (function-ptr (struct ()) (struct (int int)))))) offset=(1 0) value=(function-ptr "shed__function__f__0") ) ( memory-store pointer=(local "closurePointer__f__0") - layout=(struct (data-ptr (struct (function-ptr (struct ()) (struct (int int)))))) + layout=(struct ((struct (data-ptr int)) (struct (function-ptr (struct ()) (struct (int int)))))) offset=(1 2 0) value=(local "local__a") ) ( memory-store pointer=(local "closurePointer__f__0") - layout=(struct (data-ptr (struct (function-ptr (struct ()) (struct (int int)))))) + layout=(struct ((struct (data-ptr int)) (struct (function-ptr (struct ()) (struct (int int)))))) offset=(1 2 1) value=(local "local__b") ) |
